package homework36;

public class Client {
    public static void main(String[] args) {
        Command command1 ,command2;
        command1 = new FanCommand();
        command2 = new LightCommand();
        Invoker invoker1= new Invoker(command1);
        Invoker invoker2 = new Invoker(command2);
        invoker1.call();
        invoker2.call();
    }
}